package com.hskn.hss.app.unread.dto;


import com.hskn.hss.app.unread.to.NewsCountTo;
import lombok.Data;

import java.io.Serializable;

/**
 * TODO * @version 1.0 * @author zcy * @date 2021/9/9 21:20
 */
@Data
public class NewsCountDto implements Serializable {
    /**
     *未读开始时间
     */
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String unreadStartTime;
    /**
     *
     *登录人Id
     */
    private String personId;

    public NewsCountDto() {
    }
    public NewsCountDto(NewsCountTo newsCountTo) {
        this.unreadStartTime=newsCountTo.getUnreadStartTime();
        this.personId=newsCountTo.getPersonId();
    }

}
